Optimal. Leaf size=53 \[ \frac {2}{3} x \sqrt {b x-\frac {a}{x^2}}+\frac {2}{3} \sqrt {a} \tan ^{-1}\left (\frac {\sqrt {a}}{x \sqrt {b x-\frac {a}{x^2}}}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 53, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.235, Rules used = {1979, 2007, 2029, 203} \begin {gather*} \frac {2}{3} x \sqrt {b x-\frac {a}{x^2}}+\frac {2}{3} \sqrt {a} \tan ^{-1}\left (\frac {\sqrt {a}}{x \sqrt {b x-\frac {a}{x^2}}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 1979
Rule 2007
Rule 2029
Rubi steps
\begin {align*} \int \sqrt {\frac {-a+b x^3}{x^2}} \, dx &=\int \sqrt {-\frac {a}{x^2}+b x} \, dx\\ &=\frac {2}{3} x \sqrt {-\frac {a}{x^2}+b x}-a \int \frac {1}{x^2 \sqrt {-\frac {a}{x^2}+b x}} \, dx\\ &=\frac {2}{3} x \sqrt {-\frac {a}{x^2}+b x}+\frac {1}{3} (2 a) \operatorname {Subst}\left (\int \frac {1}{1+a x^2} \, dx,x,\frac {1}{x \sqrt {-\frac {a}{x^2}+b x}}\right )\\ &=\frac {2}{3} x \sqrt {-\frac {a}{x^2}+b x}+\frac {2}{3} \sqrt {a} \tan ^{-1}\left (\frac {\sqrt {a}}{x \sqrt {-\frac {a}{x^2}+b x}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 73, normalized size = 1.38 \begin {gather*} \frac {2 x \sqrt {b x-\frac {a}{x^2}} \left (\sqrt {b x^3-a}-\sqrt {a} \tan ^{-1}\left (\frac {\sqrt {b x^3-a}}{\sqrt {a}}\right )\right )}{3 \sqrt {b x^3-a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 4.13, size = 76, normalized size = 1.43 \begin {gather*} \frac {x \sqrt {b x-\frac {a}{x^2}} \left (\frac {2}{3} \sqrt {b x^3-a}-\frac {2}{3} \sqrt {a} \tan ^{-1}\left (\frac {\sqrt {b x^3-a}}{\sqrt {a}}\right )\right )}{\sqrt {b x^3-a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 109, normalized size = 2.06 \begin {gather*} \left [\frac {2}{3} \, x \sqrt {\frac {b x^{3} - a}{x^{2}}} + \frac {1}{3} \, \sqrt {-a} \log \left (\frac {b x^{3} - 2 \, \sqrt {-a} x \sqrt {\frac {b x^{3} - a}{x^{2}}} - 2 \, a}{x^{3}}\right ), \frac {2}{3} \, x \sqrt {\frac {b x^{3} - a}{x^{2}}} - \frac {2}{3} \, \sqrt {a} \arctan \left (\frac {x \sqrt {\frac {b x^{3} - a}{x^{2}}}}{\sqrt {a}}\right )\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.19, size = 65, normalized size = 1.23 \begin {gather*} -\frac {2}{3} \, \sqrt {a} \arctan \left (\frac {\sqrt {b x^{3} - a}}{\sqrt {a}}\right ) \mathrm {sgn}\relax (x) + \frac {2}{3} \, {\left (\sqrt {a} \arctan \left (\frac {\sqrt {-a}}{\sqrt {a}}\right ) - \sqrt {-a}\right )} \mathrm {sgn}\relax (x) + \frac {2}{3} \, \sqrt {b x^{3} - a} \mathrm {sgn}\relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.11, size = 73, normalized size = 1.38 \begin {gather*} \frac {2 \sqrt {\frac {b \,x^{3}-a}{x^{2}}}\, \left (a \arctanh \left (\frac {\sqrt {b \,x^{3}-a}}{\sqrt {-a}}\right )+\sqrt {b \,x^{3}-a}\, \sqrt {-a}\right ) x}{3 \sqrt {b \,x^{3}-a}\, \sqrt {-a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {\frac {b x^{3} - a}{x^{2}}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.35, size = 63, normalized size = 1.19 \begin {gather*} \frac {2\,x\,\sqrt {b\,x-\frac {a}{x^2}}}{3}+\frac {2\,\sqrt {a}\,\mathrm {asin}\left (\frac {\sqrt {a}}{\sqrt {b}\,x^{3/2}}\right )\,\sqrt {b\,x-\frac {a}{x^2}}}{3\,\sqrt {b}\,\sqrt {x}\,\sqrt {1-\frac {a}{b\,x^3}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________